﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp8
{
    class Class1
    {
        private int id;
        private string name;
        private char sex;
        private int cardid;
        private int tel;
        public Class1()
        {
        }
        public Class1(int id,string name,char sex,int cardid, int tel)
        {
            Console.WriteLine("ID:{0},Name:{1},Sex:{2},Cardid:{3},Tel:{4}", this.id, this.name, this.sex, this.cardid, this.tel);
        }
        public int Id
        {
            get { return this.id; }
            set { this.id = value; }
        }
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public char Sex
        {
            get { return this.sex; }
            set { this.sex = value; }
        }
        public int Cardid
        {
            get { return this.cardid; }
            set { this.cardid = value; }
        }
        public int Tel
        {
            get { return this.tel; }
            set { this.tel = value; }
        }
    }
}
